var dept=null;
$(function() {
	reportSpace="reporter/semi/arm-monthly-semi-manufactured-product-reporter!";
	fillDepartments("btngroup");
	$("div.pagination ul li a").bind("click",function(){
		var page = $(this).attr("page");
		var link = reportSpace+"pager?page="+page+"&rows=10";
		doGet(link);	
		
	});
});
function departmentClicked(id,text){
	dept = id;
	$("#deptLabel").html("当前选择部门:"+text);
}